#include "my_gmp.h"

void lshift_inplace(huge_number* hn, uint64_t n)
{
    size_t i;
    uint64_t rest_n = n % 32;
    uint64_t count_to_padding = n / 32;

    for(i = 0; i < hn->da->length; i++)
        hn->da->array[i] <<= rest_n;

    format_huge_number(hn);

    da_padding(hn->da, 0ULL, count_to_padding);
}